Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hardcoded default user agent from touchscreen.py and static_browser.py #456

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jandro-air
Copy link
Contributor

Small change to remove the hardcoded user_agents. @constantegonzalez found that it could be reported to internal security as an old browser, in some situations.

Made this a PR b/c not sure how important it is in the first place to change. But secondly, looks like lg_screenshot looks for a default user agent, in which case it might be better to simply update the user agent to something a bit more recent, even if it eventually gets "old" again.

No seeming issues running on the system when manually removing the user agent and running the touchscreen browser.

Copy link
Contributor

@minshallj minshallj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, might want to update chef to give some kind of user agent or test this a bit with some websites pulled up. Not totally sure what experience you'll get with no user agent set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants